package com.wyzz.hr.io.extend;

public class IOMessageSingle {

	public IOMessageSingle(String message, Integer errorType,
			Integer rowAndCol[]) {
		this.message = message;
		this.errorType = errorType;
		if (rowAndCol.length > 0) {
			rowNum = rowAndCol[0];
			if (rowAndCol.length > 1)
				colNum = rowAndCol[1];
		}
	}

	public Integer getRowNum() {
		return rowNum;
	}

	public Integer getColNum() {
		return colNum;
	}

	public String getMessage() {
		return message;
	}

	public void setRowNum(Integer rowNum) {
		this.rowNum = rowNum;
	}

	public void setColNum(Integer colNum) {
		this.colNum = colNum;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getErrorType() {
		return errorType;
	}

	public void setErrorType(Integer errorType) {
		this.errorType = errorType;
	}

	private Integer rowNum;
	private Integer colNum;
	private String message;
	private Integer errorType;
}
